package cn.edu.imust.loginregisterdemo;

import android.app.Application;
import android.content.Context;
import android.os.Handler;

public class MyApplication extends Application {

    public static Context context;
    public static Handler handler;

    @Override
    public void onCreate() {
        super.onCreate();

        context = getApplicationContext();
        handler = new Handler();
    }

    public static Context getContext() {
        return context;
    }
}
